package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter@Setter@ToString
public class Salary {
    private Long id;

    private Employee employee;

    private Long salary;

    private Long bonus;

    private Long cutsalary;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paydate;

    private Long totalsalary;

    private Long war;

    private Long revenue;

    private Boolean fund;


}